package com.spzx.user.mapper;

import com.spzx.model.entity.user.UserAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Project: spzx-parent
 * Package: com.spzx.user.mapper
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/4/27 下午11:40
 */
@Mapper
public interface UserAddressMapper {
    //获取用户地址列表
    List<UserAddress> findByUserId(Long userId);

    //获取地址信息
    UserAddress getById(Long id);
}
